package com.liuwei.msmall.product.vo;

import com.liuwei.msmall.product.entity.SkuImagesEntity;
import com.liuwei.msmall.product.entity.SkuInfoEntity;
import com.liuwei.msmall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @Classname SkuItemVo
 * @Date 2021/4/23 16:00
 * @Created by 刘
 */
@Data
public class SkuItemVo {
    //1.查出sku基本信息 pms_sku_info
    SkuInfoEntity info;
    //品牌名
    String brandName;
    //是否有库存
    Integer hasStock;

    //库存数量
    Long stock;

    //2.查出商品销售组合属性
    List<SkuItemSaleAttrVo> saleAttrVos;
    //3.查出sku图片 pms_sku_images
    List<SkuImagesEntity> skuImages;
    //4.查出商品描述信息 pms_spu_info_desc
    SpuInfoDescEntity spuInfoDesc;
    //5.查出商品规格参数信息
    List<SpuItemAttrGroupVo> attrsGroupVos;

    //6.商品秒杀相关的信息
    SeckillSkuInfoVo seckillSkuInfoVo;
}
